package com.hxy.subject.application.convert;

import com.hxy.subject.application.dto.*;
import com.hxy.subject.application.vo.SubjectCategoryVO;
import com.hxy.subject.domain.entity.SubjectCategoryBO;
import com.hxy.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/9/2 18:46
 */
@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO subjectCategoryDtoToBo(SubjectInfoDTO dto);
    SubjectInfoBO subjectCategoryDtoToBo(SubjectInfoDTO dto);
    SubjectInfoBO subjectCategoryDtoToBo(SubjectInfoDTO dto);
    SubjectInfoBO subjectCategoryDtoToBo(SubjectInfoDTO dto);

    List<SubjectCategoryVO> subjectCategoryBoToVoList(List<SubjectInfoBO> boList);
}
